package com.chenyue.cm.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 直播举报类型
 * </p>
 *
 * @author Lbx
 * @since 2021-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "JdReportType对象", description = "直播举报类型")
public class JdReportType extends Model<JdReportType> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
